package com.sztx.pay.center.dataaccess.domain;

import java.io.Serializable;
import java.util.Date;

public class SettleOrderDO implements Serializable {

	private static final long serialVersionUID = 7032089660598951398L;
	
	private long id;// 编号
	
	private String orderId;// 交易订单号
	
	private String settleOrderId;// 结算订单号
	
	private String payFlowNo = "";// 支付流水号
	
	private int settleType;// 结算类型(1立即结算;2定时结算)
	
	private Date createTime;// 创建时间yyyy-MM-dd HH:mm:ss
	
	private String payerUser;// 付款方倍棒账号
	
	private String payeeUser;// 收款方倍棒账号
	
	private long settleRuleId;// 结算规则编号
	
	private long settleAmount;// 结算金额,单位:分
	
	private long handlingFee;// 手续费,单位:分
	
	private long fundsToAccount;// 实际到账金额,单位:分
	
	private Date fundsToTime = new Date();// 到账时间yyyy-MM-dd HH:mm:ss
	
	private int state;// 结算状态(0未结算;1结算中;2结算成功;3结算失败)
	
	private String settleResultMsg = "";// 结算结果描述
	
	private String attach = "";// 备注(JSON)
	
	private String serviceName = "";// 回调beanName

	private int tradeOrderType;
	
	private String businessType;
	
	private String settleDetail;
	
	public String getSettleDetail() {
		return settleDetail;
	}

	public void setSettleDetail(String settleDetail) {
		this.settleDetail = settleDetail;
	}

	public String getBusinessType() {
		return businessType;
	}

	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}

	public int getTradeOrderType() {
		return tradeOrderType;
	}

	public void setTradeOrderType(int tradeOrderType) {
		this.tradeOrderType = tradeOrderType;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getSettleOrderId() {
		return settleOrderId;
	}

	public void setSettleOrderId(String settleOrderId) {
		this.settleOrderId = settleOrderId;
	}

	public String getPayFlowNo() {
		return payFlowNo;
	}

	public void setPayFlowNo(String payFlowNo) {
		this.payFlowNo = payFlowNo;
	}

	public int getSettleType() {
		return settleType;
	}

	public void setSettleType(int settleType) {
		this.settleType = settleType;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getPayerUser() {
		return payerUser;
	}

	public void setPayerUser(String payerUser) {
		this.payerUser = payerUser;
	}

	public String getPayeeUser() {
		return payeeUser;
	}

	public void setPayeeUser(String payeeUser) {
		this.payeeUser = payeeUser;
	}

	public long getSettleRuleId() {
		return settleRuleId;
	}

	public void setSettleRuleId(long settleRuleId) {
		this.settleRuleId = settleRuleId;
	}

	public long getSettleAmount() {
		return settleAmount;
	}

	public void setSettleAmount(long settleAmount) {
		this.settleAmount = settleAmount;
	}

	public long getHandlingFee() {
		return handlingFee;
	}

	public void setHandlingFee(long handlingFee) {
		this.handlingFee = handlingFee;
	}

	public long getFundsToAccount() {
		return fundsToAccount;
	}

	public void setFundsToAccount(long fundsToAccount) {
		this.fundsToAccount = fundsToAccount;
	}

	public Date getFundsToTime() {
		return fundsToTime;
	}

	public void setFundsToTime(Date fundsToTime) {
		this.fundsToTime = fundsToTime;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getSettleResultMsg() {
		return settleResultMsg;
	}

	public void setSettleResultMsg(String settleResultMsg) {
		this.settleResultMsg = settleResultMsg;
	}

	public String getAttach() {
		return attach;
	}

	public void setAttach(String attach) {
		this.attach = attach;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getServiceName() {
		return serviceName;
	}

	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}

	@Override
	public String toString() {
		return "SettleOrderDO [id=" + id + ", orderId=" + orderId + ", settleOrderId=" + settleOrderId + ", payFlowNo=" + payFlowNo + ", settleType="
				+ settleType + ", createTime=" + createTime + ", payerUser=" + payerUser + ", payeeUser=" + payeeUser + ", settleRuleId=" + settleRuleId
				+ ", settleAmount=" + settleAmount + ", handlingFee=" + handlingFee + ", fundsToAccount=" + fundsToAccount + ", fundsToTime=" + fundsToTime
				+ ", state=" + state + ", settleResultMsg=" + settleResultMsg + ", attach=" + attach + ", serviceName=" + serviceName + "]";
	}

}
